package cn.xydpeng.springframework.test.listener;

import cn.xydpeng.springframework.context.ApplicationListener;
import cn.xydpeng.springframework.context.event.ContextRefreshedEvent;

/**
 * @author xydpeng
 * @version v1.0
 * @date: 2022/10/21
 * @description:
 */
public class ApplicationContextRefreshedListener implements ApplicationListener<ContextRefreshedEvent> {
    @Override
    public void onApplicationEvent(ContextRefreshedEvent event) {
        System.out.println("thread:"+Thread.currentThread().getName()+": 监听到容器启动完毕事件");
    }
}
